import { Meta, Story, Canvas } from '@storybook/addon-docs';

<Meta title="Getting Started/Installation" id="getting-started-installation" />

# Requirements

React Data Table Component requires the following be installed in your project:

- React 16.8.0+
- styled-components 3.2.3+ || 4.0.0+ || 5.0.0+


# Installation

## If you already have styled-components installed

React Data Table utilizes the wonderful `styled-components` library. If you've already installed `styled-components` there is no need to install it again as long as the version meets the requirements section above.

### npm

```sh
npm install react-data-table-component
```

### yarn

```sh
yarn add react-data-table-component
```

## If you DO NOT already have styled-components installed

### npm

```sh
npm install react-data-table-component styled-components
```

### yarn

```sh
yarn add react-data-table-component styled-components
```